package com.ddlaw.dao;

import java.util.List;

import com.ddlaw.entity.TLawKnowledge;
import com.ddlaw.entity.TLawKnowledgeDetail;
import com.ddlaw.entity.TLawKnowledgeType;

public interface KnowledgeDao {
	
	List<TLawKnowledgeDetail> getAllKnowledge();
	
	int addKnowledge(TLawKnowledgeDetail knowledge);
	
	int delKnowledgeById(int knowledgeId);
	
	List<TLawKnowledge> getAllType();
	
	List<TLawKnowledgeDetail> getById(int typeId);
	
	List<TLawKnowledgeType> getType(int typeId);
	
}
